<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>应用未找到</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f5f5f5;
            color: #333;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            text-align: center;
        }
        .error-container {
            background: white;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            max-width: 500px;
        }
        h1 {
            color: #e74c3c;
            margin-top: 0;
        }
        p {
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }
        .code {
            background: #f8f9fa;
            padding: 0.5rem;
            border-radius: 4px;
            font-family: monospace;
            color: #e83e8c;
        }
        .action {
            margin-top: 1.5rem;
        }
        a {
            color: #3498db;
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>
<div class="error-container">
    <h1>应用配置异常</h1>
    <p>您访问的应用目录 <span class="code">{$app_name}</span> 不存在或未正确配置。</p>
    <p>请检查以下内容：</p>
    <ul style="text-align: left; margin-left: 2rem;">
        <li>应用目录是否存在于 <span class="code">public/app_front/</span> 下</li>
        <li>目录名称是否正确</li>
        <li>是否包含 <span class="code">index.html</span> 文件</li>
    </ul>
    <div class="action">
        <a href="/member">返回首页</a> |
        <a href="#">联系管理员</a>
    </div>
</div>
</body>
</html>